Skip to main content

GetProductTypes

You can fetch a list of all your product types or fetch, create, update, delete a specific one using the Ownly API.

Request URL

GET https://api-dev.theownly.io/v1/productTypes

Headers

NameValueRequired?
Acceptapplication/jsonYes
AuthorizationBearer{APItoken}Yes

Parameters

No Parameters

Example Request


curl -X 'GET' \
'https://api-dev.theownly.io/v1/productTypes' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \

Example Response


{
"id": "Oo5BqeAm",
"name": "string"
}